home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 09 - 1993 / 09.10 Oct 93 / Fixed-Point Math / benchmark.output < prev    next >
Encoding:
Text File  |  1993-07-23  |  1.3 KB  |  36 lines  |  [TEXT/????]

  1. calling the benchmark function on a double matrix...
  2. identity matrix:
  3.          1         0         0         0
  4.          0         1         0         0
  5.          0         0         1         0
  6.          0         0         0         1
  7. rotation matrix:
  8.   0.999391 -0.034899         0         0
  9.   0.034899  0.999391         0         0
  10.          0         0         1         0
  11.          0         0         0         1
  12. result of 1000 multiplications:
  13.  -0.939703  0.341992         0         0
  14.  -0.341992 -0.939703         0         0
  15.          0         0         1         0
  16.          0         0         0         1
  17. duration: 13 seconds
  18. calling the benchmark function on a fix matrix...
  19. identity matrix:
  20.          1         0         0         0
  21.          0         1         0         0
  22.          0         0         1         0
  23.          0         0         0         1
  24. rotation matrix:
  25.    0.99939 -0.034897         0         0
  26.   0.034897   0.99939         0         0
  27.          0         0         1         0
  28.          0         0         0         1
  29. result of 1000 multiplications:
  30.   -0.93808  0.338715         0         0
  31.  -0.338715  -0.93808         0         0
  32.          0         0         1         0
  33.          0         0         0         1
  34. duration: 4 seconds
  35. fixed-point calculations were about 3.25 times faster!
  36.